menuconfig SND_SOC_RLX
	tristate "RLX Sound Driver"
	help
	  RLX sound driver includes machine driver, platform driver and codec
	  driver. You can choose intern codec, extern codec or both by the
	  following configuration.

if SND_SOC_RLX

################ Config of internal codec ##############
menuconfig SND_SOC_RLX_INTERN_CODEC
	bool "Intern Codec Supported"
	default y
	help
	  Support intern codec.

if SND_SOC_RLX_INTERN_CODEC

choice
	prompt "Selected Analog Input SRC"

config SND_SOC_RLX_INTERN_CODEC_AMIC
	bool "Amic"
	help
	  Analog Input SRC -- Amic.

config SND_SOC_RLX_INTERN_CODEC_LINEIN
	bool "Line-in"
	help
	  Analog Input SRC -- Line-in.

endchoice

if SND_SOC_RLX_INTERN_CODEC_AMIC

choice
	prompt "Selected AMIC POWER"

config SND_SOC_RLX_AMIC_IN_LDO
	bool "Intern LDO"
	help
	  AMIC INTERN POWER.

config SND_SOC_RLX_AMIC_PMU_RTP
	bool "PMU RTP"
	help
	  PMU LDO POWER.

endchoice

if SND_SOC_RLX_AMIC_PMU_RTP

choice
	prompt "Selected PMU REGULATOR"

config SND_SOC_RLX_AMIC_PMU_RTP_LDO1
	bool "LDO1"
	help
	  RTP LDO1.

endchoice

endif #if SND_SOC_RLX_AMIC_PMU_RTP

endif #if SND_SOC_RLX_INTERN_CODEC_AMIC

endif #if SND_SOC_RLX_INTERN_CODEC


################ Config of external codec ##############
menuconfig SND_SOC_RLX_EXTERN_CODEC
	bool "Support extern codec"
	default n

if SND_SOC_RLX_EXTERN_CODEC

choice
	prompt "Rlx sound machine driver for"

config SND_SOC_RLX_QC
	bool "rlx qc"
	help
	  For test

config SND_SOC_RLX_RT5651
	bool "RT5651"
	help
	  Support extern codec -- rt5651.

config SND_SOC_RLX_RT5659
	bool "RT5659"
	help
	  Support extern codec -- rt5659.

config SND_SOC_RLX_RT5514
	bool "RT5514"
	help
	  Support extern codec -- rt5514.

endchoice

endif #if SND_SOC_RLX_EXTERN_CODEC


################ Config of SPDIF ##############
config SND_SOC_RLX_SPDIF
	bool "SPDIF Supported"
	help
	  Support SPDIF for rts3903, set NO for rts3901.


################ Config of debug ##############
config SND_SOC_RLX_DEBUG
	bool "RLX Sound Debug"
	help
	  Show rlx sound debug message.

config SND_LEFT_IN
	bool "rts3903 use left channel as default"

endif #if SND_SOC_RLX
